#pragma once
#include "MyRichEditCtrl.h"
#include "Text.h"
//#include "FlowChartSoftwareView.h"
class CFlowChartSoftwareView;

class CTextManager
{
public:
	CTextManager(void);
	~CTextManager(void);

	static	void	editText(POINT p_pos);
	static	void	endEditText(POINT p_pos);
	static	void	refreshText();
	static	int		GetDevCaps();
	static	void	setDevCaps(HDC p_dc);
	static	void	dealWithLButtonDblClk( CPoint p_point);
	static	void	dealWithInitialUpdate(CWnd* p_ParentWnd);
	static	void	center(CText* p_text);
	static	void	setTextNode(CText*	p_textNode);

private:
	static CMyRichEditCtrl* m_textEdit;
	static CText*	m_textNode;
	static int m_logPixelsY;
	static TCHAR m_tcharBuffer[5000];
};
